srchr/models/google

  • constructor
inherits: can.Model

Provides Google.findAll(params, success(results)) to retrieve Google images like:

Google.findAll({query: "Cats"}, function(results){

})

Make sure you update Google.apiKey with your API key and Google.cx with your custom search context code.